package com.atchangsha.system.constant;

import com.atchangsha.system.common.exception.EnumInterface;

public class LoginConstants {
    public enum LoginEnum implements EnumInterface{
        LOGIN_FLAG_ERROR(-1401,"错误的登录标志"),
        ;
        private int code;
        private String message;

        LoginEnum(int code, String message) {
            this.code = code;
            this.message = message;
        }

        @Override
        public int getCode() {
            return code;
        }

        @Override
        public String getMsg() {
            return message;
        }
    }
}
